﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using eGrocery.BaseDAL.Model;

namespace eGrocery.Location
{
	public class CityBL
	{
        public CityBL()
        {            
            
        }

        public City SaveObject(string userName, BaseDAL.Model.City tObject)
        {
            return new LocationDAL.CityDA().SaveObject(userName, tObject);
        }

        public List<BaseDAL.Model.City> GetObjectList(string userName, DateTime fromDate, DateTime toDate)
        {
            return new LocationDAL.CityDA().GetObjectList(userName, fromDate, toDate);
        }

        public bool DeleteObject(string userName, BaseDAL.Model.City tObject)
        {
            return new LocationDAL.CityDA().DeleteObject("", tObject);
        }
	}
}
